package com.ta.gulimall.product.dao;

import com.ta.gulimall.product.view.entity.ProductAttrValueEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ta.gulimall.product.view.vo.SpuGroupBaseAttrVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * spu属性值
 * 
 * @author tuao
 * @email tuaoo@gmail.com
 * @date 2022-10-27 16:31:57
 */
@Mapper
public interface ProductAttrValueDao extends BaseMapper<ProductAttrValueEntity> {

    List<SpuGroupBaseAttrVo> listBaseAttrsWithGroup(@Param("spuId") Long spuId, @Param("catalogId") Long catalogId);
}
